package com.zlkj.pro.modular.business.service;

import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zlkj.pro.modular.admin.entity.User;
import com.zlkj.pro.modular.admin.model.dto.UserDTO;
import com.zlkj.pro.modular.admin.model.vo.UserVO;

import java.util.List;

/**
 * @author liyang
 * @date 2024/4/6
 * @time 14:34
 */
public interface AgentAccountService extends IService<User> {

    PageResult<UserVO> findPage(UserDTO dto);

    boolean edit(UserDTO dto);

    boolean add(UserDTO dto);

    List<UserVO> findManagers(UserDTO dto);

    boolean editPassWord(UserDTO dto);

   /* List<AgentVO> findList(AgentDTO dto);

    AgentVO findDetail(AgentDTO dto);

    boolean delete(AgentDTO dto);

    boolean batchDelete(List<Long> ids);*/
}
